<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
    <meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
    <link href='<?php echo base_url().'public/backend/css/login.css';?>' rel='stylesheet' type='text/css' />
    <title>Dang nhap he thong</title>
</head>
<body>
<div id='backend'>

<?php
$username = array(  
    'name'        => 'username',
    'id'          => 'username',
    'size'        => '25',
);
$password = array(
    'name'        => 'password',
    'id'          => 'password',
    'size'        => '25',
);
$submit = array(
    'name'        =>'ok',
    'id'          => 'submit',
    'value'       =>'OK',
);
echo validation_errors();
if(!empty($error)) echo $error;

echo form_open(base_url().'backend/login');
echo form_label('Tên đăng nhập : ').form_input($username).'<br/>';
echo form_label('Mật khẩu : ').form_password($password).'<br/>';
echo form_label('').form_submit($submit).'<br/>';
echo form_close();
?>
</div>
</body>
</html>